package com.lzw.zuoye01;

public class FruitTest {
    public static void main(String[] args) {

        Fruit apple = new Fruit();
        Fruit mango = new Fruit();
        Fruit jackfruit = new Fruit();


        apple.setName("苹果");
        apple.setArea("昭通");
        apple.setPrice(3.0);

        mango.setName("芒果");
        mango.setArea("元江");
        mango.setPrice(4.0);

        jackfruit.setName("菠萝蜜");
        jackfruit.setArea("西双版纳");
        jackfruit.setPrice(5.0);

        
        System.out.println(apple);
        System.out.println(mango);
        System.out.println(jackfruit);
    }
}